package com.atguigu.vod.utils;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * @Classname AliyunVodSDKUtils
 * @Description TODO
 * @Date 2022/9/3 15:04
 * @Created by ZHL17
 */
public class AliyunVodSDKUtils {
    public static DefaultAcsClient initVodClient(String accessKeyId,String accessKeySecret){
        String regionId="cn-shanghai";
        DefaultProfile profile=DefaultProfile.getProfile(regionId,accessKeyId,accessKeySecret);
        DefaultAcsClient client=new DefaultAcsClient(profile);
        return client;
    }
}
